SOURCES += \
    main.cpp \
    mainwindow.cpp

FORMS += \
    mainwindow.ui

HEADERS += \
    mainwindow.h

#添加串口动态库文件
QT += core gui serialport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

#输出文件名称
TARGET = SerialPort
TEMPLATE = app

win32 {

}

unix {
    #add file to dir
    target.path=/home/gzpeite/qt_project
    INSTALLS+=target
}
